//
//  ESTPickerTipView.h
//  ESTSCRMAPP
//
//  Created by 李贤立 on 2018/9/30.
//  Copyright © 2018年 Capfer. All rights reserved.
//

#import "TYZCustomButton.h"
/**
 *  字体颜色
 */
typedef NS_ENUM(NSInteger, ESTPickerTipViewTextColor) {
    /**白色字体*/
    PickerTipViewTextColor_White = 0,
    /**黑色字体*/
    PickerTipViewTextColor_Black = 1,
    /**蓝色字体*/
    PickerTipViewTextColor_Blue = 2,
    /**灰色字体*/
    PickerTipViewTextColor_Gray = 3,
    /**333*/
    PickerTipViewTextColor_333 = 4,
    /**666*/
    PickerTipViewTextColor_666 = 5,
    /**999*/
    PickerTipViewTextColor_999 = 6,
    /**主题颜色*/
    PickerTipViewTextColor_Theme = 7
};
@interface ESTPickerTipView : TYZCustomButton
/**
 *  不弹出选择器，直接回调
 */
@property(nonatomic) void(^didClickCoverBlock)(void);
/**
 *  选择了第几个的回调
 */
@property(nonatomic) void(^didChooseNumberBlock)(NSArray<NSNumber *> *numberArray);
/**
 *  数据源
 *  一维数组的格式：@[@"A", @"B", @"C"]
 *  二维数组的格式：@[@[@"A",@[@"1",@"4",@"3",@"2"]], @[@"B",@[@"5",@"6",@"7",@"8"]], @[@"C",@[@"a",@"b",@"c",@"d"]], @[@"D",@[@"e",@"f",@"g",@"h"]]]
 */
@property(nonatomic, strong) NSArray *dataArray;
/**
 *  默认选择项
 */
@property(nonatomic, strong) NSArray<NSString *> *selectedValue;
/**
 *  选择器的标题
 */
@property(nonatomic, copy) NSString *pickerTitle;
/**
 *  该按钮的文字
 */
@property(nonatomic, copy) NSString *title;
/**
 *  样式
 */
@property(nonatomic, assign) ESTPickerTipViewTextColor textColor;
@end
